home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / SIZE.DOC < prev    next >
Text File  |  1991-04-30  |  2KB  |  33 lines

  1.  
  2. SIZE                                       Art Merrill
  3.  
  4. Purpose:  Calculates the storage requirements of a file or group of files, based
  5.           on the number of DOS clusters necessary to make floppy disk and hard
  6.           disk copies.
  7.  
  8. Format:   SIZE [d:]     (all files, default directory)
  9.              or
  10.           SIZE [d:][path]filename[.ext]
  11.  
  12. Remarks:  DOS stores files in fixed-length allocation units called "clusters."
  13.           For floppy disks, the cluster size is 1024 bytes (two 512-byte
  14.           sectors); for the PC and XT 10-Mb hard disk the cluster size is 4084
  15.           bytes.  On such a hard disk, whether a file is one byte or 4Kb in
  16.           actual length (as reported by DIR), it requires the same amount (one
  17.           cluster) of storage space.  The PC AT's 20-Mb hard disk is less
  18.           wasteful in handling small files; its minimum set-aside (cluster
  19.           size) is 2048 bytes.  AT users should use ATSIZE.COM.
  20.  
  21.           Entered without parameters, SIZE (or ATSIZE) returns the number of
  22.           bytes used by all files in the current directory, the amount of space
  23.           required to copy them to a standard (360K) floppy disk, and the
  24.           amount of space required for hard disk storage.
  25.  
  26.           Entering B:SIZE returns the same information for a disk in drive B:.
  27.           Pathnames and wildcards are supported, so you could enter
  28.  
  29.                SIZE \PROG\*.COM
  30.  
  31.           to learn the number of .COM files, their total size and storage
  32.           requirements, contained in your \PROG subdirectory.
  33.